<?php

namespace App\Http\Resources;

use Illuminate\Http\Resources\Json\Resource;

class School extends Resource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {
        return [
            "id"=>$this->id,
            "store_name"=> $this->store_name,
            "status"=> $this->status,
            "created_at"=> $this->created_at,
            "store_detail"=> $this->store_detail
        ];
    }
}
